import pandas as pd

data = pd.read_csv(r'G:\遥感图像处理\土壤水分降尺度\NAQU_NAQU_NQMS_static_variables.csv', sep=';', header='infer')
# 打印所有列名
print(data.columns.values)
# ['quantity_name' 'unit' 'depth_from[m]' 'depth_to[m]' 'value'
#  'description' 'quantity_source_name' 'quantity_source_description'
#  'quantity_source_provider' 'quantity_source_version'
#  'quantity_source_resolution' 'quantity_source_timerange'
#  'quantity_source_url' 'Unnamed: 13']
select_cols = ['quantity_name', 'unit', 'value', 'description']
print(data[select_cols])